package com.rtmart.springcloudalibaba.user.mapper;

import com.rtmart.springcloudalibaba.common.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("SELECT * FROM user WHERE id=#{id}")
    User findOneById(Long id);
}
